package com.peanut.service;

import com.orm.mapper.BaseService;
import com.orm.mapper.IService;
import com.peanut.entity.Game;
import com.peanut.entity.GameType;
import com.peanut.entity.Page;
import com.peanut.mapper.GameMapper;

import java.util.List;

public interface GameService extends IService<Game> {
	
	// 查游戏分类信息
	List<GameType> queryGameType();
	
	
	// 查询所有正常状态的游戏
	Page<Game> queryNormalGame(Integer currentPage,Integer pageSize);
	
	
	// 查询所有正常状态的游戏
	Page<Game> queryNormalGameByPlatform(Integer currentPage,Integer pageSize,Integer platform);
}
